package com.zh.media.domain.dto;

import com.zh.web.base.BasePageDto;
import com.zh.web.enums.SortType;
import com.zh.web.enums.Status;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@ApiModel(value = "视频分页查询参数")
public class PageVideoDto extends BasePageDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("简介")
    private String summary;
    @ApiModelProperty("作者")
    private String author;
    @ApiModelProperty("创作类型 由字典选取")
    private String creationType;
    @ApiModelProperty("内容类型")
    private String contentType;
    @ApiModelProperty("法条类型")
    private String lawType;
    @ApiModelProperty("文章创建人id")
    private Long createOperator;
    @ApiModelProperty("排序字段")
    private String sortField;
    @ApiModelProperty(value = "状态")
    private Status status;
}
